<!DOCTYPE html>
<html xmlns:v-bind="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8">
    <title>实例</title>
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
</head>

<body>
<div id="app">

    {{a}}


</div>


</body>


<script>

    var data = {a:'hhhh'};
    // Object.freeze(data);

    var app = new Vue({
        el: '#app',
        data: data


    });

    console.log(data.a === app.a);

    data.a=101;
    console.log(app.a);
    console.log("<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<");
    console.log(app.$el === document.getElementById("app"));
    console.log(app.$data.a)

</script>
</html>
